{include file="header.tpl" title="Bao tri nhom san pham"}
<form action="" method="post" name ="tongquat" target="_self">
  <table width="115%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td colspan="2" ><input name="button" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="{$ten_trove}" /></td>
      <td align="right" nowrap="nowrap" colspan="2"><select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
        
   {foreach from=$chuyentrang key=k item=v}
      
        <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
        
 	{/foreach}

      </select>
          <input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/></td>
    </tr>
    <tr>
      <td colspan="4"><hr /></td>
    </tr>
    <tr>
      <td colspan="4"><p> </p>
          <p></p></td>
    </tr>
	
    <tr >
	<td width="20%" >{$lbl_CHGCODE}</td>
	<td width="25%" style="color:#FF0000;"><input name="CHGCODE" {$readonlyCHGCODE} id="CHGCODE" type="text" style="background:{$colorCHGCODE}; text-align:left" value="{$CHGCODE}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','').replace('!','').replace('@','').replace('#','').replace('$','').replace('&','').replace('*','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/>
      <span style="color:#FF0000">
	  *	</span>
	  <input id="replacement_find" type="submit" name="find" value="    "  height="15" />
	  </td>
	<td width="30%" style="text-align:right">{$lbl_CHGALIAS}</td>
	<td width="25%"><select name="CHGALIAS" size="1" id="CHGALIAS" disabled="disabled">
          
			{foreach from=$cmbCHGALIAS key=k item=v}
			
          <option value="{$k}" {if $CHGALIAS eq $k} selected="selected" {/if}>{$k} - {$v}</option>
          
			{/foreach}
		
        </select>	
		
		<input name="tmpCHGALIAS" id="tmpCHGALIAS" type="hidden" value="{$CHGALIAS}" size="25" maxlength="50" onclick="event.cancelBubble=true;this.select();lcs(this)" />
			</td>
</tr> 


<tr >
	 <td>{$lbl_CHGNAME}</td>
	 <td><span style="color:#FF0000;">
      <input name="CHGNAME" id="CHGNAME" type="text" value="{$CHGNAME}" size="25" maxlength="50" style="background:{$colorCHGNAME};text-align:left"/>
	  *
    </span></td>
	<td width="30%" style="text-align:right">{$lbl_CHGACT}</td>
	<td width="25%"><input name="CHGACT" type="text" id="CHGACT"  style="background:{$colorCHGACT}; text-align:right" value="{$CHGACT}" size="20" maxlength="50" onkeypress="return numberOnly(event);"/>     
		
		<span style="color:#FF0000">
	  *	</span></td>
</tr>  

<tr >
	 <td height="23">{$lbl_CHGNAMEEN}</td>
	<td><input name="CHGNAMEEN" id="CHGNAMEEN" type="text"  value="{$CHGNAMEEN}" size="25" maxlength="50" style="text-align:left"/>	</td>
</tr>  

<tr >
	 <td>{$lbl_EFFDATE}</td>
	 <td><input name="EFFDATE" {$disableBT} id="EFFDATE" type="text" style="background:{$colorEFFDATE}; text-align:left" value="{$EFFDATE}" size="25" maxlength="50" onclick="event.cancelBubble=true;this.select();lcs(this)"/>	
	 <span style="color:#FF0000;">*</span>
	 <input name="tmpEFFDATE" id="tmpEFFDATE" type="hidden" value="{$EFFDATE}" readonly="readonly" size="25" maxlength="50" onclick="event.cancelBubble=true;this.select();lcs(this)" />	
	 <td ></td>
	 <td >
	 	<font size="1.5" color="#999999">{$showIVAT} | {$showOVAT}</font> 
	 </td>
</tr>  

<tr >
	<td>{$lbl_CHGTYPE}</td>
	<td><select name="CHGTYPE" size="1" id="CHGTYPE"  onchange="return checkCHGTYPE();">
        
			{foreach from=$cboCHGTYPE key=k item=v}
				
        <option value="{$k}" {if $k eq $CHGTYPE} selected="selected" {/if}>{$k} - {$v}</option>
        
			{/foreach}
		
      </select>	  </td>
	<td style="text-align:right">{$lbl_VATTYPE}	      </td>
	 <td >
	 	<select name="VATTYPE" size="1" id="VATTYPE">
          
			{foreach from=$cboVATTYPE key=k item=v}
			
          <option value="{$k}" {if $vattype eq $k} selected="selected" {/if}>{$k} - {$v}</option>
          
			{/foreach}
		
        </select>	 </td>
</tr>  

<tr >
	<td>{$lbl_CHGAMT}</td>
	<td><input name="CHGAMT" id="CHGAMT" {$readonlyCHGAMT} type="text" style="background:{$colorCHGAMT}; text-align:right" value="{$CHGAMT}" size="25" maxlength="50"  onkeypress="return numberOnly(event);" />	</td>
</tr>  

<tr >
	 <td>{$lbl_RATE}</td>
	 <td ><input name="RATE" id="RATE" {$readonlyRATE} type="text" style="background:{$colorRATE}; text-align:right" value="{$RATE}" size="20" maxlength="50" onkeypress="return numberOnly(event);"/>
	   <span style=" font-size:12px;">
	%</span>	</td>
	<td>{$lbl_CHGMAX} 
	  <input name="CHGMAX" type="text" {$readonlyMax} id="CHGMAX"  style="background:{$colorCHGMAX}; text-align:right" value="{$CHGMAX}" size="17" maxlength="50" onkeypress="return numberOnly(event);"/> </td>
	<td >{$lbl_CHGMIN}
	  <input name="CHGMIN" type="text" {$readonlyMin} id="CHGMIN" style="background:{$colorCHGMIN}; text-align:right" value="{$CHGMIN}" size="17" maxlength="50" onkeypress="return numberOnly(event);"/></td>
</tr> 

<tr>
	<td colspan="4" nowrap="nowrap">
		{$lbl_PRDLIST}:	
		<input name="showDSSP" id="showDSSP" style="visibility:hidden" type="submit" value="{$btnShowDSSP}" class="button_style" />
		</td>
</tr>
 
 <tr>
	<td colspan="4" nowrap="nowrap">
		{$dataSPDD}</td>
</tr>

    <tr>
      <td colspan="4" align="right" nowrap="nowrap"><input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'RTYPE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
          <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
    </tr>
    <tr>
      <td align="left" nowrap="nowrap" colspan="4"><input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
          <input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
    </tr>
    <tr>
      <td colspan="4"><hr /></td>
    </tr>
    <tr>
      <td colspan="3"><input name="button2" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="{$ten_trove}" /></td>
      <td align="right" nowrap="nowrap"><select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
        
   {foreach from=$chuyentrang key=k item=v}
      
        <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
        
 	{/foreach}

      </select>
          <input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
    </tr>
  </table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
